package com.hs.sfzy.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @description: 我的通知
 * @author: 陈千鱼不是鱼
 * @date: 2024/10/28 14:22
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Mynotice {

  private Long id;
  private Long userId;
  private String title;
  private String details;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date createTime;

}
